<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta charset="utf-8">
    <title>物品记录管理</title>
    <link rel="shortcut icon" href="../fffff.ico"/>
    <link rel="stylesheet" href="../layui/css/layui.css"/>
    <link rel="stylesheet" href="../css/my.css"/>
</head>
<body>
<ul class="layui-nav layui-bg-green my" lay-filter="">
    <li class="layui-nav-item my">密码修改</li>
</ul>

<!--required lay-verify="required" required lay-verify="required" -->
<form class="layui-form " action="" method="post">
    <div class="loginformAndre">
        <div class="layui-form-item ">
            <label class="layui-form-label">用户名</label>
            <div class="layui-input-inline">
                <input type="text" name="user"  id="user" placeholder="请输入用户名"
                       autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item ">
            <label class="layui-form-label">手机号</label>
            <div class="layui-input-inline">
                <input type="text" name="user" onblur="checkphone()"  id="phone" placeholder="请输入手机号"
                       autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">旧密码</label>
            <div class="layui-input-inline">
                <input type="password" name="password"  id="oldpassword" placeholder="请输入密码"
                       autocomplete="off"
                       class="layui-input" >

            </div>
            <div class="layui-form-mid layui-word-aux"></div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">新密码</label>
            <div class="layui-input-inline">
                <input type="password" name="password"  id="newpassword" placeholder="请输入新密码"
                       autocomplete="off"
                       class="layui-input" onblur="checkPwd()">
            </div>
            <div class="layui-form-mid layui-word-aux"></div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">再次输入新密码</label>
            <div class="layui-input-inline">
                <input type="password" name="password"  id="newpassword2" placeholder="请再次输入新密码"
                       autocomplete="off"
                       class="layui-input" onblur="checkPwd2()">
            </div>
            <div class="layui-form-mid layui-word-aux"></div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">验证码</label>
            <div class="layui-input-inline">
                <input type="text" name="check"  id="check" placeholder="请输入验证码"
                       autocomplete="off"
                       class="layui-input">
            </div>
            <a href=""><img src="/captcha" width="130px" height="48px"/></a>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <a class="layui-btn" lay-submit lay-filter="formDemo" id="login">修改</a>
                <a href="/login" class="layui-btn" lay-submit>登录</a>
            </div>
        </div>
    </div>
</form>


<script>
    //Demo
    // layui.use('form', function () {
    //     var form = layui.form;
    //
    //     //监听提交
    //     form.on('submit(formDemo)', function (data) {
    //         layer.msg(JSON.stringify(data.field));
    //         return false;
    //     });
    // });
</script>


<script src="../layui/layui.all.js"></script>
<!--<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>-->
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="../js/change.js"></script>

</body>

</html>
